package org.shj.springboot.dao;

import java.util.List;

import org.shj.springboot.entity.Customer;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface UserRepository extends MongoRepository<Customer,String>{

	public Customer findByName(String name);
	
	public List<Customer> findByAge(int age);
}
